/**
 * 功能描述
 */

define(function (require, exports, module) {
	var Grid = require("grid");
	var aw = require("ajaxwrapper");
	var store =require("store");
	var activeUser = store.get("user");
    var instance = {
        initComponent: function (params,widget) {
        	var Egrid = new Grid({
        		parentNode: ".J-Egrid",
        		model:{
        			columns:[{
        				name:"operateDate",
        				label:"时间",
        				format:"date"
        			},{
        				name:"rechargeType.value",
        				label:"类型"
        			},{
        				name:"money",
        				label:"金额(元)"
        			},{
        				name:"travelAccount.balance",
        				label:"余额(元)"
        			},{
        				name:"operator.name",
        				label:"经办人"
        			}]
        		},
        		
        	});
        	widget.set("Egrid",Egrid)
        }
    };
    module.exports = instance;
});
